// To parse this JSON data, do
//
//     final lineListlModel = lineListlModelFromJson(jsonString);

import 'dart:convert';

List<LineListlModel?>? lineListlModelFromJson(String str) => json.decode(str) == null ? [] : List<LineListlModel?>.from(json.decode(str).map((x) => LineListlModel.fromJson(x)));

String lineListlModelToJson(List<LineListlModel?>? data) => json.encode(data == null ? [] : List<dynamic>.from(data.map((x) => x?.toJson())));

class LineListlModel {
  LineListlModel({
    this.id,
    this.caption,
    this.totalDay,
    this.logo,
    this.startCityName,
    this.endCityName,
    this.clickNum,
  });

  int? id;
  String? caption;
  int? totalDay;
  String? logo;
  String? startCityName;
  String? endCityName;
  int? clickNum;

  factory LineListlModel.fromJson(Map<String, dynamic> json) => LineListlModel(
    id: json["id"],
    caption: json["caption"],
    totalDay: json["totalDay"],
    logo: json["logo"],
    startCityName: json["startCityName"],
    endCityName: json["endCityName"],
    clickNum: json["clickNum"],
  );

  Map<String, dynamic> toJson() => {
    "id": id,
    "caption": caption,
    "totalDay": totalDay,
    "logo": logo,
    "startCityName": startCityName,
    "endCityName": endCityName,
    "clickNum": clickNum,
  };
}
